﻿<li>
<?php $groups = Group::model()->findAll(); ?>
<?php foreach($groups as $gs): ?>
<?php if($gs->roles_id == 3): ?>
<?php echo CHtml::link($gs->groupname, array('grade/view', 'id'=>$gs->id)).'<br/>'; ?>
<?php endif; ?>
<?php endforeach; ?>
</li>